home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 2410 / 2410.xpi / chrome / content / foxmarks-pwprefoverlay.js < prev    next >
Text File  |  2010-01-28  |  468b  |  19 lines

  1. /*
  2.  Copyright 2007-2008 Foxmarks Inc.
  3.  
  4.  foxmarks-pwsanitizeoverlay.js: component that tells password that it
  5.  needs to check for changes.
  6.  
  7.  */
  8.  
  9.  
  10. window.addEventListener("unload",
  11.     function(){
  12.         var lm = Date.now();
  13.         var os = Components.classes["@mozilla.org/observer-service;1"]
  14.             .getService(Components.interfaces.nsIObserverService);
  15.         os.notifyObservers(null, "foxmarks-checkforpasswordchange", 
  16.             lm);
  17.     }, 
  18.     false);
  19.